<%@ taglib prefix="s" uri="/struts-tags" %>

  <jsp:include page="/pages/header.jsp" flush="true"/>
   
	<s:if test="projects.size() > 0">
		<div class="content">
			<table class="projectTable" cellpadding="10px">
				<tr class="even">
					<th>ID</th>
					<th>Name</th>
					<th>Leader</th>
				</tr>
				<s:iterator value="projects" status="projectStatus">
					<tr class="<s:if test="#projectStatus.odd == true ">odd</s:if><s:else>even</s:else>">
						<td><s:property value="id" /></td>
						<td><s:property value="name" /></td>
						<td><s:property value="leader.name" /></td>
						</tr>
				</s:iterator>
			</table>
		</div>
	</s:if>
	<s:else>
		<h1>No Projects</h1>
	</s:else>
    
    
  <%="</body>"%>
<%="</html>"%>